import  os
from airtest.core.api import *
from airtest.core.error import *
# connect_device("Android://127.0.0.1:5037/VOYL5DQCUCRCKNFA")
# #connect_device("Android://127.0.0.1:5037/c4833a97")
# #set_current("VOYL5DQCUCRCKNFA")
# dev = device()
# dev.start_app("com.je.skgametest")
# dev.stop_app("com.je.skgametest")
# install("F:\\tools\\apk\space_qc_airtest_out_4915_1.59.12.001_ok.apk")
# try:
#     dev.check_app("skgametest")
# except AirtestError:
#     print("1111")
#     install("F:\\tools\\apk\space_qc_airtest_out_4915_1.59.12.001_ok.apk")
# uninstall("com.je.skgametest")


